home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
inc_309.zip
/
SWITCH.DOC
< prev
next >
Wrap
Text File
|
1991-11-07
|
3KB
|
86 lines
Switch and Nite-Switch
Switch is a utility that should be run in the $$LOGOFF.BAT file to ensure
that all users names are written as thier real names and security levels.
This needs to be accomplished only when a user logs off the BBS while using
his alias name.
If you prefer not to run the $$logoff.bat file, then you will need to run
NITE-SW.EXE in your event sys file to change all names back at one time. If
you run nite-sw.exe all nodes must be down before running. Between Switch and
Nite-SW (NightSwitch) you should be able to pick whichever program suits your
needs best.
! IMPORTANT !
RNBB SUGGESTS THAT YOU RUN SWITCH IN THE $$LOGOFF.BAT FILE SINCE THIS
GUARANTEES THAT THE USER WILL BE SWITCHED BACK IMMEDIATELY. A sample
$$logoff.bat file is included.
(DO NOT ATTEMPT TO PERFORM ANY USER FILE OPERATIONS SUCH AS SORTING WITHOUT
FIRST RUNNING SWITCH or NITE-SW).
If you sort or update your users file in an event make sure you have been
running switch first or run NITE-SW before doing so. Its that simple.
While running switch, If you have sorted your users file first and switch
or NITE-SW does not find the appropriate name in the PCBNDX file, you will
be notified and no action takes place on that name.
SWITCH.EXE ----------------------------------------
Switch is very easy to use. Switch must be run from the $$logoff.bat file
To begin, Place the Switch.exe file in your INCOGNITO Directory. The command
to run switch is SWITCH and the complete path to your PCBOARD.DAT file and
PCBOARD.SYS FILE FOR THAT NODE. (We suggest using the %PCB% variables.
Switch must be in the same directory as your INC.CNF file.
Sample Batchfile method
$$LOGOFF.BAT
CD C:\PCB\DOORS\INC
SWITCH %PCBDRIVE%%PCBDIR%\PCBOARD.DAT %PCBDRIVE%%PCBDIR%\PCBOARD.SYS
%PCBDRIVE
CD %PCBDIR%
Switch will locate the user that logged off the system using thier alias
name and change thier Name back to thier real name, Change thier Security level
back to thier Previous level, and switch thier conference back to conference 0.
(Main Board)
NITE-SW (NITESWITCH) ------------------------------------------------
Nite-SW is the same program as switch however it may only be run in your nitely
event when all nodes are down. Nite-SW will take everyuser that is in the INC
users file and switch them back to thier REAL names and security levels.
Nite-SW does not check to see if users are online, that is why it is run in
the event sys file. Switch does online checking before switching the user back
to thier real name (Switch must be run in the $$logoff.bat file).
To begin, Place the Nite-SW.exe file in your INCOGNITO Directory. The command
to run switch is Nite-SW and the complete path to your PCBOARD.DAT file. (We
suggest using the %PCB% variables. Switch must be in the same directory as
your INC.CNF file.
Sample Batchfile method
EVENT.SYS
CD C:\PCB\DOORS\INC
SWITCH %PCBDRIVE%%PCBDIR%\PCBOARD.DAT
%PCBDRIVE
CD %PCBDIR%
Nite-SW will locate the users that logged off the system using thier alias
name and change thier Name back to thier real name, Change thier Security level
back to thier Previous level, and switch thier conference back to conference 0.
(Main Board)